package com.mocha.bass.test.jiangan;

import com.hyzh.latte.vehicle.dmo.entity.PointPGEntity;
import lombok.Data;

/**
 * @author songkui
 * @since 2024/7/6 21:04
 */
@Data
public class PointVO {

    //点位编码
    private String pointNo;
    //经度
    private String lon;
    //维度
    private String lat;
    //高度
    private String height;


    public static PointVO build(PointPGEntity pgEntity){
        PointVO pointVO = new PointVO();
        pointVO.setPointNo(pgEntity.getPointNo());
        pointVO.setLat(pgEntity.getLat());
        pointVO.setLon(pgEntity.getLon());
        pointVO.setHeight(pgEntity.getHeight());
        return pointVO;
    }

}
